<div class="reg-wrap">
	<div class="reg-title">
		<h1>找回密码</h1>
		<h2>
			<a href="###" ng-click="back();">返回</a>
		</h2>
	</div>
	<div>
		<div class="r-form-wrap reg-body">
			<div class="r-form-group">
				<div class="r-form-control">
					<i class="iconfont r-form-item-icon">&#xe680;</i>
					<input type="text" onfocus="this.type='password'" class="r-form-item" placeholder="请输入密码" ng-change="checkPwd();" ng-model="user.pwd">
				</div>
				<p class="r-form-error mg-m-t" ng-show="error.pwd.flag" ng-hide="!error.pwd.flag" ng-bind="error.pwd.msg"></p>
			</div>
			<div class="r-form-group mg-b-t">
				<div class="r-form-control">
					<i class="iconfont r-form-item-icon">&#xe63b;</i>
					<input type="text" onfocus="this.type='password'" class="r-form-item" placeholder="请确认密码" ng-change="checkSubmitPwd();" ng-model="user.spwd">
				</div>
				<p class="r-form-error mg-m-t" ng-show="error.spwd.flag" ng-hide="!error.spwd.flag" ng-bind="error.spwd.msg"></p>
			</div>
	
			<p class="r-button mg-b-t" 
				ng-class="{'r-button-submit':!error.phone.flag && !error.pwd.flag && !error.spwd.flag, 
				'r-button-disabled':error.phone.flag || error.pwd.flag || error.spwd.flag}" 
				ng-click="reg();">确定</p>
		</div>
	</div>
</div>